package com.hhh.demo.sx.bean;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 仓库商品
 * </p>
 *
 * @author hhh
 * @since 2022-01-04
 */
@Data
@EqualsAndHashCode(callSuper = false)
public class StoreProduct implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    private Integer storeId;

    private Integer productId;

    private Integer num;

    public StoreProduct() {
    }

    public StoreProduct(Integer storeId, Integer productId, Integer num) {
        this.storeId = storeId;
        this.productId = productId;
        this.num = num;
    }
}
